<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>		
		
		<script>
//		构造函数模式 
//		小明 今年18岁 性别男 有男朋友 男朋友会说话 说什么自己定
		     function person(name,age,sex,friend,talk,talking about){
		     	    this.name = name;
		     	    this.age = age;
		     	    this.sex = sex;
		     	    this.friend = friend;
		     	    this.talk = talk;
		     	    this.talking about = talking about;
		     }
		     var plople = new person("花花",18,"女","有男朋友","会说话","么么哒！");
		     document.write(plople.name+plople.age+plople.sex+plople.friend+plople.talk+plople.talking about);
		</script>
	</body>
</html>
